package com.doeis.uwork.entity.mongo;

import java.sql.Timestamp;

import com.voland.core.annotation.Table;
import com.voland.core.db.Entity;

/**
 * 离线消息
 * @author tianbx
 */
@Table(name="off_line_msg")
public class OffLineMsg extends Entity implements Cloneable {
	
	private String id;	
	private String userId;//这条信息属于谁
	
	private String content;
	private String classname;
	
	private Timestamp created_at;
	
	public Timestamp getCreated_at() {
		return created_at;
	}
	public void setCreated_at(Timestamp created_at) {
		this.created_at = created_at;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getClassname() {
		return classname;
	}
	public void setClassname(String classname) {
		this.classname = classname;
	}
	@Override
	public String toString() {
		return "OffLineMsg [id=" + id + ", userId=" + userId + ", content="
				+ content + ", classname=" + classname + "]";
	}
	
}
